export default [
    // 登录
    {
        path: "/Estate/login",
        name: "estate_login",
        component: () => import("@/views/Estate/login")
    },
    // 注册
    {
        path: "/Estate/register",
        name: "estate_register",
        component: () => import("@/views/Estate/register")
    },

    // 后台界面
    {
        path: "/Estate/index",
        name: "estate_index",
        component: () => import("@/views/Estate/index"),
        children: [
            {
                path: "/Estate/index",
                name: "estate_default",
                component: () => import("@/views/Estate/default")
            }, // 打开默认页面

            // 区域管理
            // {
            //     path: "/Estate/community",
            //     name: "estate_community_lists",
            //     component: () => import("@/views/Estate/community/lists")
            // },
            // {
            //     path: "/Estate/community/form",
            //     name: "estate_community_form",
            //     component: () => import("@/views/Estate/community/form")
            // },
            // {
            //     path: "/Estate/community/form/:id",
            //     name: "estate_community_form",
            //     component: () => import("@/views/Estate/community/form")
            // },
            // 楼栋管理
            {
                path: "/Estate/house/index",
                name: "estate_house",
                component: () => import("@/views/Estate/hourse/hourse/index")
            },
            {
                path: "/Estate/house/form/:h_id?",
                name: "estate_house_form",
                component: () => import("@/views/Estate/hourse/hourse/form")
            },
            // 单元管理
            {
                path: "/Estate/element/index",
                name: "estate_element",
                component: () => import("@/views/Estate/hourse/element/index")
            },
            {
                path: "/Estate/element/form/:f_id?",
                name: "estate_element_form",
                component: () => import("@/views/Estate/hourse/element/form")
            },
            // 房间管理
            {
                path: "/Estate/room/index",
                name: "estate_room",
                component: () => import("@/views/Estate/hourse/room/index")
            },
            {
                path: "/Estate/room/form/:r_id?",
                name: "estate_room_form",
                component: () => import("@/views/Estate/hourse/room/form")
            },
            // 投诉管理
            {
                path: "/Estate/complain",
                name: "estate_complain",
                component: () => import("@/views/Estate/complain/index")
            },
            {
                path: "/Estate/complain/detail/:id?",
                name: "estate_complain_detail",
                component: () => import("@/views/Estate/complain/detail")
            },
            // 维修管理
            {
                path: "/Estate/maintain",
                name: "estate_maintain",
                component: () => import("@/views/Estate/maintain/index")
            },
            // 维修管理
            {
                path: "/Estate/property_payment/:feeType?",
                name: "property_payment",
                component: () => import("@/views/Estate/property_payment/index")
            },
            {
                path: "/Estate/maintain/detail/:id?",
                name: "estate_maintain_detail",
                component: () => import("@/views/Estate/maintain/detail")
            },

            // 用户管理
            {
                path: "/Estate/users",
                name: "estate_users",
                component: () => import("@/views/Estate/users/index")
            },
            {
                path: "/Estate/users/form/:id?",
                name: "estate_users_form",
                component: () => import("@/views/Estate/users/form")
            },

            // 后台管理员
            {
                path: "/Estate/estates",
                name: "estate_estates",
                component: () => import("@/views/Estate/estates/index")
            },
            {
                path: "/Estate/estates/form/:id?",
                name: "estate_estates_form",
                component: () => import("@/views/Estate/estates/form")
            },

            // 菜单管理
            {
                path: "/Estate/menus",
                name: "estate_menus",
                component: () => import("@/views/Estate/menus/index")
            },
            {
                path: "/Estate/menus/form/:id?",
                name: "estate_menus_form",
                component: () => import("@/views/Estate/menus/form")
            },

            // 接口分组
            {
                path: "/Estate/permission_groups",
                name: "estate_permission_groups",
                component: () =>
                    import("@/views/Estate/permission_groups/index")
            },
            {
                path: "/Estate/permission_groups/form/:id?",
                name: "estate_permission_groups_form",
                component: () => import("@/views/Estate/permission_groups/form")
            },

            // 接口管理
            {
                path: "/Estate/permissions",
                name: "estate_permissions",
                component: () => import("@/views/Estate/permissions/index")
            },
            {
                path: "/Estate/permissions/form/:id?",
                name: "estate_permissions_form",
                component: () => import("@/views/Estate/permissions/form")
            },

            // 角色管理
            {
                path: "/Estate/roles",
                name: "estate_roles",
                component: () => import("@/views/Estate/roles/index")
            },
            {
                path: "/Estate/roles/form/:id?",
                name: "estate_roles_form",
                component: () => import("@/views/Estate/roles/form")
            },

            // 站点协议
            {
                path: "/Estate/agreements",
                name: "estate_agreements_index",
                component: () => import("@/views/Estate/agreements/index")
            }, // 站点协议列表
            {
                path: "/Estate/agreements/form/:id?",
                name: "estate_agreements_form",
                component: () => import("@/views/Estate/agreements/form")
            }, // 站点协议编辑

            // 文章 帮助中心
            {
                path: "/Estate/articles",
                name: "estate_articles_index",
                component: () => import("@/views/Estate/articles/index")
            }, // 帮助中心列表
            {
                path: "/Estate/articles/form/:id?",
                name: "estate_articles_form",
                component: () => import("@/views/Estate/articles/form")
            }, // 帮助中心编辑


            // 积分设置
            {
                path: "/Estate/integral_set",
                name: "estate_integral_set",
                component: () => import("@/views/Estate/integral_set/index")
            },

            {
                path: "/Estate/integral_log",
                name: "estate_integral_log",
                component: () => import("@/views/Estate/integral_log/index")
            },

            {
                path: "/Estate/integral_log/:set_id?",
                name: "estate_integral_log_set",
                component: () => import("@/views/Estate/integral_log/index")
            },

            {
                path: "/Estate/integral_set/form/:id?",
                name: "estate_integral_set_form",
                component: () => import("@/views/Estate/integral_set/form")
            },


            // 商品分类
            {
                path: "/Estate/goods_classes",
                name: "estate_goods_classes",
                component: () => import("@/views/Estate/goods_classes/index")
            },
            {
                path: "/Estate/goods_classes/form/:id?",
                name: "estate_goods_classes_form",
                component: () => import("@/views/Estate/goods_classes/form")
            },

            // 全国地址管理
            {
                path: "/Estate/areas",
                name: "estate_areas",
                component: () => import("@/views/Estate/areas/index")
            },
            {
                path: "/Estate/areas/form/:id?",
                name: "estate_areas_form",
                component: () => import("@/views/Estate/areas/form")
            },

            // 商品品牌
            {
                path: "/Estate/goods_brands",
                name: "estate_goods_brands",
                component: () => import("@/views/Estate/goods_brands/index")
            },
            {
                path: "/Estate/goods_brands/form/:id?",
                name: "estate_goods_brands_form",
                component: () => import("@/views/Estate/goods_brands/form")
            },

            // 店铺分类
            {
                path: "/Estate/stores_cate",
                name: "estate_stores_cate",
                component: () => import("@/views/Estate/stores_cate/index")
            },
            // 店铺添加
            {
                path: "/Estate/stores_cate/form/:id?",
                name: "estate_stores_cate_form",
                component: () => import("@/views/Estate/stores_cate/form")
            },
            // 店铺管理
            {
                path: "/Estate/stores",
                name: "estate_stores",
                component: () => import("@/views/Estate/stores/index")
            },
            {
                path: "/Estate/stores/form/:id?",
                name: "estate_stores_form",
                component: () => import("@/views/Estate/stores/form")
            },

            // 商品管理
            {
                path: "/Estate/goods",
                name: "estate_goods",
                component: () => import("@/views/Estate/goods/index")
            },
            {
                path: "/Estate/goods/form/:id?",
                name: "estate_goods_form",
                component: () => import("@/views/Estate/goods/form")
            },

            // 广告位管理
            {
                path: "/Estate/adv_positions",
                name: "estate_adv_positions",
                component: () => import("@/views/Estate/adv_positions/index")
            },
            {
                path: "/Estate/adv_positions/form/:id?",
                name: "estate_adv_positions_form",
                component: () => import("@/views/Estate/adv_positions/form")
            },

            // 订单管理
            {
                path: "/Estate/orders",
                name: "estate_orders",
                component: () => import("@/views/Estate/orders/index")
            },
            {
                path: "/Estate/orders/form/:id?",
                name: "estate_orders_form",
                component: () => import("@/views/Estate/orders/form")
            },

            // 订单抢单
            {
                path: "/Estate/grabOrderList",
                name: "estate_grabOrderList",
                component: () => import("@/views/Estate/grab_orders/index")
            },

            // 订单评论
            {
                path: "/Estate/order_comments",
                name: "estate_order_comments",
                component: () => import("@/views/Estate/order_comments/index")
            },
            {
                path: "/Estate/order_comments/form/:id?",
                name: "estate_order_comments_form",
                component: () => import("@/views/Estate/order_comments/form")
            },
            // 结算日志
            {
                path: "/Estate/order_settlements",
                name: "estate_order_settlements",
                component: () =>
                    import("@/views/Estate/order_settlements/index")
            },
            {
                path: "/Estate/order_settlements/form/:id",
                name: "estate_order_settlements_form",
                component: () => import("@/views/Estate/order_settlements/form")
            },

            // 资金日志
            {
                path: "/Estate/money_logs",
                name: "estate_money_logs",
                component: () => import("@/views/Estate/money_logs/index")
            },

            // 资金提现
            {
                path: "/Estate/cashes",
                name: "estate_cashes",
                component: () => import("@/views/Estate/cashes/index")
            },

            // 数据统计
            {
                path: "/Estate/statistics/user",
                name: "estate_statistics_user",
                component: () => import("@/views/Estate/statistics/user")
            },
            {
                path: "/Estate/statistics/store",
                name: "estate_statistics_store",
                component: () => import("@/views/Estate/statistics/store")
            },
            {
                path: "/Estate/statistics/order",
                name: "estate_statistics_order",
                component: () => import("@/views/Estate/statistics/order")
            },
            {
                path: "/Estate/statistics/pay",
                name: "estate_statistics_pay",
                component: () => import("@/views/Estate/statistics/pay")
            },

            // 首页轮播图管理
            {
                path: "/Estate/home_banner",
                name: "home_banner",
                component: () => import("@/views/Estate/home_banner/index")
            },
            {
                path: "/Estate/home_banner/form/:id?",
                name: "home_banner_form",
                component: () => import("@/views/Estate/home_banner/form")
            },

            // 物业公告
            {
                path: "/Estate/notice",
                name: "notice",
                component: () => import("@/views/Estate/notice/index")
            },
            {
                path: "/Estate/notice/form/:id?",
                name: "notice_form",
                component: () => import("@/views/Estate/notice/form")
            },

            // 资源位管理
            {
                path: "/Estate/resources",
                name: "resources",
                component: () => import("@/views/Estate/resources/index")
            },
            {
                path: "/Estate/resources/form/:id?",
                name: "resources_form",
                component: () => import("@/views/Estate/resources/form")
            },

            // 家政管理-分类
            {
                path: "/Estate/house_cate",
                name: "house_cate",
                component: () => import("@/views/Estate/house_cate/index")
            },
            {
                path: "/Estate/house_cate/form/:id?",
                name: "house_cate_form",
                component: () => import("@/views/Estate/house_cate/form")
            },
            // 家政信息
            {
                path: "/Estate/house_info",
                name: "house_info",
                component: () => import("@/views/Estate/house_info/lists")
            },
            {
                path: "/Estate/house_info/form/:id?",
                name: "house_info_form",
                component: () => import("@/views/Estate/house_info/form")
            },
            // 家教管理-分类
            {
                path: "/Estate/tutor_cate",
                name: "tutor_cate",
                component: () => import("@/views/Estate/tutor_cate/index")
            },
            {
                path: "/Estate/tutor_cate/form/:id?",
                name: "tutor_cate_form",
                component: () => import("@/views/Estate/tutor_cate/form")
            },
            // 家教信息
            {
                path: "/Estate/tutor_info",
                name: "tutor_info",
                component: () => import("@/views/Estate/tutor_info/lists")
            },
            {
                path: "/Estate/tutor_info/form/:id?",
                name: "tutor_info_form",
                component: () => import("@/views/Estate/tutor_info/form")
            },
            // 搬家公司管理-分类
            {
                path: "/Estate/remover_cate",
                name: "remover_cate",
                component: () => import("@/views/Estate/remover_cate/index")
            },
            {
                path: "/Estate/remover_cate/form/:id?",
                name: "remover_cate_form",
                component: () => import("@/views/Estate/remover_cate/form")
            },
            // 搬家公司信息
            {
                path: "/Estate/remover_info",
                name: "remover_info",
                component: () => import("@/views/Estate/remover_info/lists")
            },
            {
                path: "/Estate/remover_info/form/:id?",
                name: "remover_info_form",
                component: () => import("@/views/Estate/remover_info/form")
            },
            // 回收站管理
            // 分类
            {
                path: "/Estate/recovery_cate",
                name: "recovery_cate",
                component: () => import("@/views/Estate/recovery_cate/index")
            },
            {
                path: "/Estate/recovery_cate/form/:id?",
                name: "recovery_cate_form",
                component: () => import("@/views/Estate/recovery_cate/form")
            },
            //邻里圈管理
            //邻里圈说说管理
            {
                path: "/Estate/circle/index",
                name: "estate_circle_index",
                component: () => import("@/views/Estate/circle/index")
            },
            {
                path: "/Estate/circle/form/:id",
                name: "estate_circle_form",
                component: () => import("@/views/Estate/circle/form")
            },
            //出租房源管理
            {
                path: "/Estate/house/lease/index",
                name: "estate_house_lease_index",
                component: () => import("@/views/Estate/house/lease/index")
            },
            {
                path: "/Estate/house/lease/form/:id",
                name: "estate_house_lease_form",
                component: () => import("@/views/Estate/house/lease/form")
            },
            //出售房源管理
            {
                path: "/Estate/house/sell/index",
                name: "estate_house_sell_index",
                component: () => import("@/views/Estate/house/sell/index")
            },
            {
                path: "/Estate/house/sell/form",
                name: "estate_house_sell_form",
                component: () => import("@/views/Estate/house/sell/form")
            },
            {
                path: "/Estate/house/sell/form/:id",
                name: "estate_house_sell_form",
                component: () => import("@/views/Estate/house/sell/form")
            },
            // 跳蚤订单列表
            {
                path: "/Estate/flea_order",
                name: "flea_order",
                component: () => import("@/views/Estate/flea_order/index")
            },
            {
                path: "/Estate/flea_order/form/:id?",
                name: "flea_order_form",
                component: () => import("@/views/Estate/flea_order/form")
            },
            // 信息
            {
                path: "/Estate/recovery_info",
                name: "recovery_info",
                component: () => import("@/views/Estate/recovery_info/lists")
            },
            {
                path: "/Estate/recovery_info/form/:id?",
                name: "recovery_info_form",
                component: () => import("@/views/Estate/recovery_info/form")
            },
            // 跳蚤市场轮播图管理
            {
                path: "/Estate/flea_banner",
                name: "flea_banner",
                component: () => import("@/views/Estate/flea_banner/index")
            },
            {
                path: "/Estate/flea_banner/form/:id?",
                name: "flea_banner_form",
                component: () => import("@/views/Estate/flea_banner/form")
            },
            // 闲置商品列表
            {
                path: "/Estate/flea_goods",
                name: "flea_goods",
                component: () => import("@/views/Estate/flea_goods/index")
            },
            {
                path: "/Estate/flea_goods/form/:id?", //查看
                name: "flea_goods",
                component: () => import("@/views/Estate/flea_goods/form")
            },
            {
                path: "/Estate/announcement",
                name: "estate_announcement_index",
                component: () => import("@/views/Estate/announcement/index")
            }, // 新闻公告列表
            //添加新闻公告
            {
                path: "/Estate/announcement/form/:id?",
                name: "estate_announcement_form",
                component: () => import("@/views/Estate/announcement/form")
            },
            {
                path: "/Estate/electric_meter",
                name: "estate_electric_meter_index",
                component: () => import("@/views/Estate/electric_meter/index")
            }, // 电表
            //添加电表设备
            {
                path: "/Estate/electric_meter/form/:id?",
                name: "estate_electric_meter_form",
                component: () => import("@/views/Estate/electric_meter/form")
            },
            {
                path: "/Estate/water_meter",
                name: "estate_water_meter_index",
                component: () => import("@/views/Estate/water_meter/index")
            }, // 水表
            //添加水表设备
            {
                path: "/Estate/water_meter/form/:id?",
                name: "estate_water_meter_form",
                component: () => import("@/views/Estate/water_meter/form")
            },
            {
                path: "/Estate/collector_meter",
                name: "estate_collector_meter_index",
                component: () => import("@/views/Estate/collector_meter/index")
            }, // 采集器
            //添加采集器设备
            {
                path: "/Estate/collector_meter/form/:id?",
                name: "estate_collector_meter_form",
                component: () => import("@/views/Estate/collector_meter/form")
            },
            //代理商管理
            {
                path: "/Estate/platform_agent",
                name: "estate_platform_agent",
                component: () => import("@/views/Estate/platform_agent/index")
            },
            {
                path: "/Estate/platform_agent/form/:id?",
                name: "estate_platform_agent_form",
                component: () => import("@/views/Estate/platform_agent/form")
            },
            //视频资源列表
            {
                path: "/Estate/monitor",
                name: "estate_monitor",
                component: () => import("@/views/Estate/monitor/index")
            },
            {
                path: "/Estate/monitor/form/:id?",
                name: "estate_monitor",
                component: () => import("@/views/Estate/monitor/form")
            },
            //电表报警记录
            {
                path: "/Estate/alarm_record",
                name: "estate_alarm_record",
                component: () => import("@/views/Estate/alarm_record/index")
            },
            {
                path: "/Estate/PropertyShow",
                name: "PropertyShow",
                component: () => import("@/views/Estate/property/form")
            },
            //电报抄读记录
            {
                path: "/Estate/MeterSettlement",
                name: "meter_settlement",
                component: () => import("@/views/Estate/meter_settlement/index")
            },

            //财务账单
            {
                path: "/Estate/Accounts",
                name: "accounts",
                component: () => import("@/views/Estate/accounts/index")
            },
            //缴费记录
            {
                path: "/Estate/PaymentOrder",
                name: "payment_order",
                component: () => import("@/views/Estate/payment_order/index")
            },
            //财务统计
            {
                path: "/Estate/FinanceIndex",
                name: "finance_index",
                component: () => import("@/views/Estate/finance_index/index")
            },
            {
                path: "/Estate/electric_meter/detail/:id/:code/:community/:tableAddress",
                name: "estate_electric_meter_detail",
                component: () => import("@/views/Estate/electric_meter/detail")
            },
            //电量统计
            {
                path: "/Estate/ele_statistics",
                name: "estate_ele_statistics",
                component: () => import("@/views/Estate/ele_statistics/index")
            },
            //用户报警模板
            {
                path: "/Estate/AlarmPlan",
                name: "alarm_plan",
                component: () => import("@/views/Estate/alarm_plan/index")
            },
            {
                path: "/Estate/AlarmPlan/form/:id?",
                name: "alarm_plan_form",
                component: () => import("@/views/Estate/alarm_plan/form")
            },
            //业主
            {
                path: "/Estate/platform_owner",
                name: "estate_community_lists",
                component: () => import("@/views/Estate/platform_owner")
            },
            {
                path: "/Estate/platform_owner/form/:id?",
                name: "estate_community_form",
                component: () => import("@/views/Estate/platform_owner/form")
            },
            //收费模板
            {
                path: "/Estate/ChargingScheme",
                name: "charging_scheme",
                component: () => import("@/views/Estate/charging_scheme/index")
            },
            {
                path: "/Estate/ChargingScheme/form/:id?",
                name: "charging_scheme",
                component: () => import("@/views/Estate/charging_scheme/form")
            },
            //区域管理
            {
                path: "/Estate/ElectricCommunity",
                name: "electric_community",
                component: () => import("@/views/Estate/electric_community/lists")
            },
            {
                path: "/Estate/ElectricCommunity/form/:id?",
                name: "estate_community_form",
                component: () => import("@/views/Estate/electric_community/form")
            },
            {
                path: "/Estate/water_meter/detail/:id/:code/:community/:tableAddress",
                name: "estate_water_meter_detail",
                component: () => import("@/views/Estate/water_meter/detail")
            },
            {
                path: "/Estate/ElectricCommunity/line_loss/:id?",
                name: "estate_community_line_loss",
                component: () => import("@/views/Estate/electric_community/line_loss")
            },
            //巡查员列表
            {
                path: "/Estate/visitator",
                name: "electric_visitator",
                component: () => import("@/views/Estate/visitator/index")
            },
            {
                path: "/Estate/visitator/form/:id?",
                name: "estate_visitator_form",
                component: () => import("@/views/Estate/visitator/form")
            },
            //开户行列表
            {
                path: "/Estate/account_bank",
                name: "electric_account_bank",
                component: () => import("@/views/Estate/account_bank/index")
            },
            {
                path: "/Estate/account_bank/form/:id?",
                name: "estate_account_bank_form",
                component: () => import("@/views/Estate/account_bank/form")
            },
            //代理商等级
            {
                path: "/Estate/agent_level",
                name: "electric_agent_level",
                component: () => import("@/views/Estate/agent_level/index")
            },
            {
                path: "/Estate/agent_level/form/:id?",
                name: "estate_agent_level_form",
                component: () => import("@/views/Estate/agent_level/form")
            },
            //代理商分账记录
            {
                path: "/Estate/accounting_records",
                name: "electric_accounting_records",
                component: () => import("@/views/Estate/accounting_records/index")
            },
            //阀控记录
            {
                path: "/Estate/valve_control_log",
                name: "electric_valve_control_log",
                component: () => import("@/views/Estate/valve_control_log/index")
            },
            //电表订单
            {
                path: "/Estate/electricity_bill",
                name: "electric_electricity_bill",
                component: () => import("@/views/Estate/electricity_bill/index")
            },
            //水表订单
            {
                path: "/Estate/water_bill",
                name: "electric_water_bill",
                component: () => import("@/views/Estate/water_bill/index")
            },
            //设备等级
            {
                path: "/Estate/equipment_level",
                name: "equipment_level",
                component: () => import("@/views/Estate/equipment_level/index")
            },
            {
                path: "/Estate/equipment_level/form/:id?",
                name: "equipment_level_form",
                component: () => import("@/views/Estate/equipment_level/form")
            },
            //电表更换记录
            {
                path: "/Estate/collector_change",
                name: "collector_change",
                component: () => import("@/views/Estate/collector_change/index")
            }

        ]
    },
    //视频资源详情
    {
        path: "/Estate/monitor/video/:id?",
        name: "estate_monitor_video",
        component: () => import("@/views/Estate/monitor/video")
    },
];
